CLOCK

Syntax: CLOCK [#channel] [,format$]
Location: Toolkit II, THOR XVI

The command CLOCK creates a multitasking digital clock job named Clock. If no channel parameter is stated, CLOCK will open its own window (con_60x20a448x206).

Format$ is optional and is used to define how the clock will appear on screen. It can contain any text you desire (except for the characters % or $), but there are certain special characters (see below) which allow you to alter the way in which the clock is presented.

The format is defined by using certain set series of strings. The following special characters will affect the way in which the clock is displayed (the default format string is "$d %d $m %h:%m:%s" which is ideal) :

%d day of month 2 digits
$d day of week  3 characters
%h hour (24h)   2 digits
$m month        3 characters
%m minute       2 digits
%s seconds      2 digits
%y year         2 digits (last two digits)
%c century      2 digits

CROSS-REFERENCE:
Use SDATE or ADATE to set the system date and time. 
DATE$ and DATE return the current time.  
NO_CLOCK removes the CLOCK on the THOR.
